<script src="lib/jquery.min.js"></script>
<script type="text/javascript" src="lib/jquery.jcarousel.min.js"></script>
<?php
$NBCar=mysql_query("SELECT * FROM actualites WHERE MiseEnLigneActu='oui'") or die(mysql_error());

echo"<script type='text/javascript'>jQuery(document).ready(function() {";
	while($rowCarr=mysql_fetch_array($NBCar)){
	$idCar=$rowCarr['idActu'];
	echo "jQuery('#mycarousel".$idCar."').jcarousel();";
	}
echo"});
</script>";
?>